package com.hntky.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hntky.entity.Sickroom;
import com.hntky.service.SickroomService;
import com.hntky.mapper.SickroomMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author admin
* @description 针对表【t_sickroom】的数据库操作Service实现
* @createDate 2023-05-16 10:40:09
*/
@Service
public class SickroomServiceImpl extends ServiceImpl<SickroomMapper, Sickroom>
    implements SickroomService{

    @Resource
    private SickroomMapper mapper;

    @Override
    public Page<Sickroom> findPage(Page<Sickroom> page, String nname) {
        return mapper.findPage(page, nname);
    }

    @Override
    public Sickroom findNurses(Integer sid) {


        return mapper.findNurses(sid);
    }
}




